package com.jf.identity.filter;

import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 校验accessToken
 *
 * @author FCG
 */
@Component
public class AccessTokenHandler implements ParamHandler<Object, String> {

    @Override
    public Object handle(String param, HttpServletRequest request, HttpServletResponse response) {
//        String token = Params.isBlank(param, "token");
        // TODO 加入token校验方案，如从缓存中获取...
        return null;
    }
}
